package com.sh.data.engine.application.model.dto.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
@Schema
public class OfflineTaskDataStandardParamResponse {

    @Schema(description = "ods层系统")
    private List<Param> systems;

    @Schema(description = "表的增量类型 f-全量 i-增量")
    private List<Param> tableIncTypes;

    @Schema(description = "表的刷新频率")
    private List<Param> tableFrequencys;

    @Data
    @AllArgsConstructor
    @Schema
    public static class Param {

        @Schema(description = "id")
        private Long id;

        @Schema(description = "关键字")
        private String key;

        @Schema(description = "名称")
        private String value;
    }
}
